<template>
  <el-container class="common-layout">
    <SideMenu />
    <el-container direction="vertical">
      <TopHeader />
      <el-main> <RouterView /></el-main>
    </el-container>
  </el-container>
</template>

<script setup>
import TopHeader from "@/components/mainbox/TopHeader.vue";
import SideMenu from "@/components/mainbox/SideMenu.vue";
</script>

<style lang="scss" scoped>
.el-main {
  height: calc(100vh - 60px);
  overflow: auto;
}
</style>
